const wait = (t = 500) => {
  return new Promise((resolve, reject) => {
    setTimeout(() => {
      resolve({ code: 0 });
    }, t);
  });
};

module.exports = {
  wait,
};
